package com.ssm.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ssm.bean.City;
import com.ssm.dao.CityMapper;

@Service
public class CityService {
	@Autowired
	private CityMapper cityMapper;
	public List<City> selectAll() {
		List<City> list=cityMapper.selectAll();
		return list;
	}

}
